package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 【请填写功能名称】对象 userinfo
 *
 * @author ruoyi
 * @date 2025-08-04
 */
public class Userinfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private Integer userId;

    /** 年龄 */
    @Excel(name = "年龄")
    private Integer age;

    /** 0 男 1女 2不限 */
    @Excel(name = "0 男 1女 2不限")
    private Integer sex;

    /** 0不限 */
    @Excel(name = "0不限")
    private Integer qg;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String job;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String path;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String birthday;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setUserId(Integer userId)
    {
        this.userId = userId;
    }

    public Integer getUserId()
    {
        return userId;
    }

    public void setAge(Integer age)
    {
        this.age = age;
    }

    public Integer getAge()
    {
        return age;
    }

    public void setSex(Integer sex)
    {
        this.sex = sex;
    }

    public Integer getSex()
    {
        return sex;
    }

    public void setQg(Integer qg)
    {
        this.qg = qg;
    }

    public Integer getQg()
    {
        return qg;
    }

    public void setJob(String job)
    {
        this.job = job;
    }

    public String getJob()
    {
        return job;
    }

    public void setPath(String path)
    {
        this.path = path;
    }

    public String getPath()
    {
        return path;
    }

    public void setBirthday(String birthday)
    {
        this.birthday = birthday;
    }

    public String getBirthday()
    {
        return birthday;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("age", getAge())
            .append("sex", getSex())
            .append("qg", getQg())
            .append("job", getJob())
            .append("path", getPath())
            .append("birthday", getBirthday())
            .toString();
    }
}
